package Teamdomain;

/**
 * @program: Demo2
 * @description:
 * @author: Yan Guang
 * @create: 2020-04-23 10:55
 */
public class PC implements Equipment{
    private String model;
    private String display;

    public PC(String model, String display) {
        super();
        this.model = model;
        this.display = display;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }
    @Override
    public String getDeDescription() {
        return model+"("+ display +")";
    }
}
